<?php


namespace app\common\model;


use app\common\model\search\NodeSearch;

class Node extends BaseModel
{
    protected $name = 'node';
    use NodeSearch;

    public function getLists(): \think\Paginator
    {
        return $this->mongoSearch()
            ->order('created_at', 'desc')
            ->paginate($this->pageLimit);

    }

}